package com.itheima.service.mongo;

import com.itheima.domain.mongo.Video;
import com.itheima.vo.PageBeanVo;
import org.bson.types.ObjectId;

public interface VideoService {

    //推荐列表
    PageBeanVo findRecommendVideoByPage(Long userId, Integer pageNum, Integer pageSize);

    //保存视频
    void save(Video video);

    Video findById(ObjectId objectId);
}